import { defineUserConfig } from "vuepress";
import type { DefaultThemeOptions } from "vuepress";
import recoTheme from "vuepress-theme-reco";

export default defineUserConfig({
  title: "清柠软件编程",
  description: "Just playing around",
  theme: recoTheme({
    style: "@vuepress-reco/style-default",
    logo: "/logo.png",
    author: "guzj",
    authorAvatar: "/head.png",
    docsRepo: "https://github.com/vuepress-reco/vuepress-theme-reco-next",
    docsBranch: "main",
    docsDir: "example",
    lastUpdatedText: "",
    editLink: false,
    navbar: [
      { text: "首页", link: "/" },
      { text: "后端", link: "/categories/houduan/1/" },
      { text: "前端", link: "/categories/qianduan/1/" },
      { text: "优质项目", link: "/categories/youzhixiangmu/1/" },
      { text: "开发工具", link: "/categories/kaifagongju/1/" },
      { text: "关于作者", link: "/categories/author/1/" },
    ],
    // bulletin: undefined,
    // valineConfig 配置与 1.x 一致
    // valineConfig: {
    //   appId: 'xxx',
    //   appKey: 'xxx',
    //   placeholder: '填写邮箱可以收到回复提醒哦！',
    //   verify: true, // 验证码服务
    //   // notify: true,
    //   recordIP: true,
    //   // hideComments: true // 隐藏评论
    // },
  }),
  // debug: true,
});
